﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SimpleWeather.ViewModels;
using StyleMVVM.DependencyInjection;
using StyleMVVM.Data.Activation;

namespace SimpleWeather.UnitTests.ViewModels
{
	[TestClass]
	public class DesignForecastDetailsPageViewModelTests : BaseTestClass
	{
		[TestMethod]
		public void CreateTest()
		{
			DesignForecastDetailsPageViewModel pageViewModel =
				Container.Locate<IActivationService>().Create<DesignForecastDetailsPageViewModel>();

			Assert.IsNotNull(pageViewModel.SelectedForecast);

		}
	}
}
